#ifndef TESTSERVER_H
#define TESTSERVER_H

#include <e32base.h>

#include "scatu/Api.h"
#include "scatu/Server.h"
#include "scatu/ServerBase.h"

class CTestSession;
class CTestEngine;

class CTestServer : public scatu::CServerBase<CTestServer, CTestSession>
    {
public:
     virtual ~CTestServer();
    
     CTestEngine & Engine() const { return *iEngine; }
     
private:
    void ConstructL();
    
    CTestEngine * iEngine;
    };

class CTestSession : public scatu::CSessionBase<CTestServer >
    {
public:
    void PopulateRequestArrayL(scatu::RServerRequestArray & aArray);
    
private:
    scatu::Api<scatu::EServer> iApi;
    };

#endif // TESTSERVER_H
